<nav id="nav" class="nav-primary hidden-xs nav-vertical">
    <ul class="nav" data-spy="affix" data-offset-top="50">
        <li class="{{ Request::is('admin/dashboard*') ? 'active' : null }}"><a href="{{ URL::to('admin/dashboard') }}"><i class="fa fa-dashboard fa-lg"></i><span>Dashboard</span></a></li>
        <li class="{{ Request::is('admin/contents*') ? 'active' : null }} ">
            <a href="{{ URL::to('admin/contents') }}"><i class="fa fa-th fa-lg"></i><span>Content</span></a></li>        
        </li>
        @if($superuser)  
        <li class="{{ Request::is('admin/users*') ? 'active' : null }}"><a href="{{ URL::to('admin/users') }}"><i class="fa fa-users fa-lg"></i><span>Users</span></a></li>
        @endif
    </ul>
</nav>
